package com.aaa.zs;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ fileName:ZuulApp
 * @ description:
 * @ author:zhz
 * @ createTime:2020/11/20 9:55
 * @ version:1.0.0
 */
@SpringBootApplication
@EnableDiscoveryClient
/**
 * 开启 zuul代理功能
 */
@EnableZuulProxy
@EnableFeignClients
public class ZuulApp {
    public static void main(String[] args) {
        SpringApplication.run(ZuulApp.class,args);
    }

}
